/* $RCSFile: Default.aspx.cs $
 * Apache license v2 2011 by Christian Surieux
 * $Source: ?/AddonNice/Default.aspx.cs $
 * $log$
 * Revision 20 2010/08/09 10:51:18  christian.surieux
 *   Added Log comment to all .aspx .ascx .master files
 * Revision 19 2010/08/09 09:43:41  christian.surieux
 *   Added Log to cs sources files
 * Revision 6 2010/08/06 19:56:24  christian.surieux
 *   Added Log to All cs files
 */

using System;
using System.Diagnostics;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

using AddonNice.Diagnostics;
using AddonNice.Settings;

using Trace2    =   System.Diagnostics.Trace;

namespace AddonNice
{
	/// <summary>
	/// The Default.aspx page should simply tests 
	/// the browser type and redirects either to
	/// the DefaultModulesPage page or to another kind of page  [TO BE IMPLEMENTED], 
	/// depending on the device type.
	/// </summary>
    public partial class Default : System.Web.UI.Page 
    {
        protected void Page_Load(object sender, System.EventArgs e) 
        {
            if ( PageTraceSwitch.Sw.TraceVerbose )
                Trace2.WriteLine("[V]Default Page_Load BEG.",PageTraceSwitch.Sw.Info);
			Server.Transfer(Config.DefaultModulesPage, false);
            if ( PageTraceSwitch.Sw.TraceVerbose )
                Trace2.WriteLine("[V]Default Page_Load END.",PageTraceSwitch.Sw.Info);
        }

		#region Web Form Designer generated code
		/// <summary>
		/// Raises OnInitEvent
		/// </summary>
		/// <param name="e"></param>
		protected override void OnInit(EventArgs e)
		{
			InitializeComponent();

			base.OnInit(e);
		}

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent() 
        {
            this.Load += new System.EventHandler(this.Page_Load);

        }
		#endregion

    }
}